/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 30318
 * Date: 2024-01-17
 * Time: 12:54
 */
import java.io.FileNotFoundException;
import java.util.*;
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
import java.util.Scanner;

class FoodMenu {
    public void PrintMune(){
        System.out.println("***********  【满汉全席】菜单  ***********");
        System.out.println("菜品名\t\t金额");
        try(BufferedReader br =new BufferedReader(new FileReader("foodsInfo.txt"))) {
            String line;
            while ((line=br.readLine())!=null){
                System.out.println(line);
            }
        } catch (FileNotFoundException e) {
            throw new RuntimeException(e);
        } catch (IOException e) {
            throw new RuntimeException(e);
        }
        System.out.println("***************************************");
    }
}